package com.yxe.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxe.pojo.Collection;
import com.yxe.pojo.House;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yang
 * @since 2022-12-14
 */
public interface CollectionMapper extends BaseMapper<Collection> {

    /**
     * 查看所有收藏
     * @return
     */
    List<House> findAll(Integer userId);
}
